import 'package:concierge/app/pages/bind_phone/binding.dart';
import 'package:concierge/app/pages/bind_phone/view.dart';
import 'package:concierge/app/pages/email_login/binding.dart';
import 'package:concierge/app/pages/email_login/view.dart';
import 'package:concierge/app/pages/login/binding.dart';
import 'package:concierge/app/pages/login/view.dart';
import 'package:concierge/app/pages/main/binding.dart';
import 'package:concierge/app/pages/main/view.dart';
import 'package:concierge/app/pages/phone_login/binding.dart';
import 'package:concierge/app/pages/phone_login/view.dart';
import 'package:concierge/app/pages/splash/binding.dart';
import 'package:concierge/app/pages/splash/view.dart';
import 'package:concierge/app/pages/webview/enhanced_web_binding.dart';
import 'package:concierge/app/pages/webview/enhanced_web_view.dart';
import 'package:concierge/app/pages/webview/general_web_view.dart';
import 'package:concierge/app/pages/webview/webview_demo.dart';
import 'package:concierge/app/pages/webview/webview_demo_binding.dart';
import 'package:get/get.dart';

class Routes {
  static var splash = '/splash';
  static var login = '/login';

  static var index = '/index';
  static var enhancedWeb = '/enhancedWeb';
  static var webViewDemo = '/webview-demo';
  static var generalWeb = '/generalWeb';
  static var cards = '/cards';
  static var phone_login = '/phone_login';
  static var email_login = '/email_login';
  static var bind_phone = '/bind_phone';
  static var main = '/main';

  static List<GetPage> get routes => [
    GetPage(
      name: splash,
      page: () => const SplashPage(),
      binding: SplashBinding(),
    ),
    GetPage(
      name: login,
      page: () => const LoginPage(),
      binding: LoginBinding(),
    ),

    GetPage(
      name: generalWeb,
      page: () => const GeneralWebView(),
      popGesture: false,
    ),
    GetPage(
      name: enhancedWeb,
      page: () => const EnhancedWebView(),
      binding: EnhancedWebBinding(),
      popGesture: false,
    ),
    GetPage(
      name: webViewDemo,
      page: () => const WebViewDemo(),
      binding: WebViewDemoBinding(),
    ),

    GetPage(
      name: phone_login,
      page: () => const PhoneLoginPage(),
      binding: PhoneLoginBinding(),
    ),
    GetPage(
      name: email_login,
      page: () => const EmailLoginPage(),
      binding: EmailLoginBinding(),
    ),
    GetPage(
      name: bind_phone,
      page: () => const BindPhonePage(),
      binding: BindPhoneBinding(),
    ),
    GetPage(name: main, page: () => const MainPage(), binding: MainBinding()),
  ];
}
